package com.ruoyi.web.controller.staff;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.entity.SysDictType;
import com.ruoyi.common.core.page.TableDataInfo;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("/staff/entry")
public class entryController extends BaseController {
    private String prefix = "staff/entry";

    @GetMapping()
    public String contract()
    {
        return prefix + "/entry";
    }

    @PostMapping("/list")
    @ResponseBody
    public TableDataInfo list(SysDictType dictType)
    {
        startPage();
        return getDataTable(null);
    }
}
